package com.jdd.modules.parking.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jdd.common.util.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 月租车VO
 * @Author: jdd
 * @Date: 2021-02-18
 * @Version: V1.0
 */
@Data
@TableName("park_white_list")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "park_white_list对象", description = "白名单")
public class ParkWhiteListVO {


    private String id;

    @Excel(name = "车牌号", width = 15)
    private String plateNo;

    /**
     * 停车场编号
     */
    @Excel(name = "停车场编号", width = 15)
    private String parkCode;
    /**
     * 停车场名称
     */
    @Excel(name = "停车场名称", width = 15)
    private String parkName;

    /**
     * 过期时间
     */
    @Excel(name = "过期时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    /**
     * 状态(Y:启用,N:冻结)
     */
    @Excel(name = "状态(Y:启用,N:冻结)", width = 15)
    private String status;

}
